package com.song.mvc.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.HttpRequestHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Description: HelloControllerHand：类描述
 * @author: songzhangyong
 * @Date: 2019/11/27 09:37
 */

@Component("/impl2/hello")
public class HelloControllerHand implements HttpRequestHandler {
	@Override
	public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		response.getWriter().write("HelloControllerHand ... handleRequest ..3");
	}
}
